Developer Documentation

QuickTime 4 API Documentation
QuickTime Music Architecture

| Previous | Chapter Contents | Chapter Top | Next |

MIDI Packet

The MIDI packet structure describes the data passed by note allocation calls. It is defined by the MusicMIDIPacket data type.

struct MusicMIDIPacket {
    unsigned short          length;
    unsigned long           reserved;           
    UInt8                   data[249];
};
typedef struct MusicMIDIPacket MusicMIDIPacket;
length
The length of the data in the packet.

reserved
This field contains zero or one of the music packet status constants. See "Music Packet Status" [link] .

data[249 ]
The MIDI data.

This is the count of data bytes only, unlike MIDI Manager or OMS packets.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |